core: Make libostree.so an installed library
authorColin Walters <walters@verbum.org>
Tue, 29 Nov 2011 23:25:07 +0000 (18:25 -0500)
committerColin Walters <walters@verbum.org>
Tue, 29 Nov 2011 23:25:07 +0000 (18:25 -0500)
This will make it easier to have multiple binaries.

Makefile-libostree.am
Makefile.am
configure.ac

index 091d152aeffbe91a864790f3cafd301ffc68b68e..bf53cc3b77d3c4562ee4acda31b869a4eb35326f 100644 (file)
@@ -17,7 +17,7 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-noinst_LTLIBRARIES += libostree.la
+privlib_LTLIBRARIES += libostree.la
 
 libostree_la_SOURCES = src/libostree/ostree.h \
        src/libostree/ostree-core.c \
index 4fae1fbc6a24b8aa95d1baaf7b968afb2af38a8b..755e7f5f48a20073280e5cb27530b70ae7820fe7 100644 (file)
@@ -28,6 +28,8 @@ bin_SCRIPTS =
 libexec_PROGRAMS =
 noinst_LTLIBRARIES =
 noinst_PROGRAMS =
+privlibdir = $(pkglibdir)
+privlib_LTLIBRARIES =
 
 include Makefile-daemon.am
 include Makefile-otutil.am
index a98bd5f18262222538e553fcb075c1ea71da2e21..839abea7c874d82846a89f07cf015333ea03f8a3 100644 (file)
@@ -19,9 +19,8 @@ changequote([,])dnl
 AC_SUBST(WARN_CFLAGS)
 
 # Initialize libtool
-AC_PROG_LIBTOOL
-LT_PREREQ([2.2])
-LT_INIT
+LT_PREREQ([2.2.4])
+LT_INIT([disable-static])
 
 PKG_PROG_PKG_CONFIG